<template>
  <div id="companypublishdetial">
    <el-row>
      <el-col :span="4" :offset="3">
        <div class="div_border_title"><h2>企业发布</h2></div>
      </el-col>
      <el-col :span="18" :offset="3">
        <CompanyJobPublishCommon :id="id" @returnStatus="getStatus"></CompanyJobPublishCommon>
      </el-col>
    </el-row>
  </div>
</template>
<script>
  import { postDataToServer } from '../../assets/js/post.js'
  import CompanyJobPublishCommon from '@/components/companyPublish/CompanyJobPublishCommon'

  export default {
    name: 'companypublishdetial',
    data () {
      return {
        id: ''
      }
    },
    created () {
      this.id = this.$route.params.id
    },
    methods: {
      getStatus (status) {
        this.$router.go(-1)
      }
    },
    components: {
      CompanyJobPublishCommon
    }
  }
</script>

<style scoped>
  #companypublishdetial {
    margin-top: 2em;
  }
</style>
